<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColMaxButtingNumToDemandsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('demands', function(Blueprint $table)
        {
            $table->integer('max_butting_num')->default(0)->comment('最大对接人数')->after('industry_id');
            $table->string('budget')->nullable()->comment('服务预算')->after('max_butting_num');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
